﻿<Window x:Class="Gronia.Test.HyperPanelTest"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        xmlns:gronia="http://www.gronia.org/wpf/"
        Title="HyperPanel Test" Height="300" Width="600">
    <DockPanel>
        <StackPanel Orientation="Horizontal" Height="20" DockPanel.Dock="Top">
            <TextBlock VerticalAlignment="Center">Distribution</TextBlock>
            <Slider Value="50" Minimum="0" Maximum="100" VerticalAlignment="Center" Width="100" ValueChanged="Slider_ValueChanged" />
            <CheckBox IsChecked="False" x:Name="chkHorizontal" Checked="Checked" Unchecked="Checked">Horizontal</CheckBox>
            <CheckBox IsChecked="True" x:Name="chkApplyOpacity" Checked="Checked" Unchecked="Checked">ApplyOpacity</CheckBox>
            <StackPanel Background="LightGray" Orientation="Horizontal">
                <RadioButton x:Name="etMouse" GroupName="EffectType" IsChecked="True" Checked="RadioButton_Checked">Mouse</RadioButton>
                <RadioButton x:Name="etPoint" GroupName="EffectType" Checked="RadioButton_Checked">Point</RadioButton>
                <RadioButton x:Name="etChild" GroupName="EffectType" Checked="RadioButton_Checked">Child</RadioButton>
            </StackPanel>
            <Button Visibility="Collapsed" Margin="5,0,0,0" x:Name="btnRastgeleNokta" Click="btnRastgeleNokta_Click">Rastgele Nokta</Button>
            <Button Visibility="Collapsed" Margin="5,0,0,0" x:Name="btnRastgeleChild" Click="btnRastgeleChild_Click">Rastgele Child</Button>
        </StackPanel>
        <Grid>
            <gronia:HyperPanel x:Name="panel" Orientation="Vertical">
                <Rectangle Stroke="Tomato" Width="60" Height="60" StrokeThickness="5" Fill="Pink"/>
                <Rectangle Stroke="Green" Width="60" Height="60" StrokeThickness="5" Fill="Lime"/>
                <Rectangle Stroke="Green" Width="60" Height="60" StrokeThickness="5" Fill="Lime"/>
                <Rectangle Stroke="Green" Width="60" Height="60" StrokeThickness="5" Fill="Lime"/>
                <Rectangle Stroke="Green" Width="60" Height="60" StrokeThickness="5" Fill="Lime"/>
                <Rectangle Stroke="Green" Width="60" Height="60" StrokeThickness="5" Fill="Lime"/>
                <Rectangle Stroke="Green" Width="60" Height="60" StrokeThickness="5" Fill="Lime"/>
                <Rectangle Stroke="Green" Width="60" Height="60" StrokeThickness="5" Fill="Lime"/>
                <Rectangle Stroke="Green" Width="60" Height="60" StrokeThickness="5" Fill="Lime"/>
                <Rectangle Stroke="Brown" Width="60" Height="60" StrokeThickness="5" Fill="RosyBrown"/>
            </gronia:HyperPanel>
        </Grid>
    </DockPanel>
</Window>